package com.hxexp.weixin.mvc.faq.model;

import java.io.Serializable;
import java.util.List;

/**
 * FAQ分类信息
 *
 * @author li.jiang
 *
 */
public final class FAQCategory implements Serializable {

    private static final long serialVersionUID = -5388045226290318664L;
    /**
     * 分类ID
     */
    private String categoryId;
    /**
     * 分类名称
     */
    private String categoryName;
    /**
     * 帮助条目列表
     */
    private List<FAQItem> items;

    /**
     * @return the categoryId
     */
    public String getCategoryId() {
        return categoryId;
    }

    /**
     * @param categoryId
     *            the categoryId to set
     */
    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    /**
     * @return the categoryName
     */
    public String getCategoryName() {
        return categoryName;
    }

    /**
     * @param categoryName
     *            the categoryName to set
     */
    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    /**
     * @return the items
     */
    public List<FAQItem> getItems() {
        return items;
    }

    /**
     * @param items
     *            the items to set
     */
    public void setItems(List<FAQItem> items) {
        this.items = items;
    }

    /*
     * (non-Javadoc)
     *
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String.format("FAQCategory [categoryId=%s, categoryName=%s, items=%s]", categoryId, categoryName, items);
    }

}
